package com.example.figurehecheng.domain.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class OrderPageDTO {

    private String orderNumber; //订单编号

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beganTime; //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime; //结束时间时间
    private int pageNum;
    private int pageSize;
}
